﻿using System;
using System.Collections.Generic;

namespace SlamCms.Data
{
	[Serializable]
	public class Group : ICloneable
	{
		public Group()
		{
			this.Sites = new List<Site>();
		}

		public int GroupId { get; set; }
        public int SiteCollectionGroupId { get; set; }
		public string Name { get; set; }
		public bool View { get; set; }
		public bool Add { get; set; }
		public bool Edit { get; set; }
		public bool Approve { get; set; }
		public bool Delete { get; set; }

		public virtual ICollection<Site> Sites { get; set; }

		public object Clone()
		{
			return this.MemberwiseClone();
		}
	}
}